package acn.spring.shop.viewUtil;

public final class RequestMappings {

	private RequestMappings() {
	}

	public static final String PARAM_PRODUCT_ID = "productId";

	public static final String PRODUCTS = "/products";
	public static final String SHOW_PRODUCT = "/" + "{" + PARAM_PRODUCT_ID + "}";
	public static final String ADD_TO_CART = "/addToCart";
	public static final String DELETE_FROM_CART = "/deleteFromCart";
	public static final String CLEAR_CART = "/clearCart";

	public static final String REDIRECT_PRODUCTS = "redirect:" + PRODUCTS;

	public static final String ADD_NEW_PRODUCT = "/addNewProduct";
	public static final String EDIT = "/edit";
}
